﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JX.Infrastructure.Attribute
{
    /// <summary>
    /// 自定义特性标记类
    /// </summary>
    public class MyFlagAttribute : System.Attribute
    {
        /// <summary>
        /// 自定义标记，多个标记用“|”分隔
        /// </summary>
        public string Flag { get; set; } = string.Empty;

        /// <summary>
        /// 构造器
        /// </summary>
        /// <param name="flag"></param>
        public MyFlagAttribute(string flag)
        {
            Flag = flag;
        }
    }
}
